package com.siwei.mes.sync.erp.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * ERP合同同步入参
 *
 * @Description: 同步ERP合同入参
 * @Version: 1.0
 * @author: mlchen
 * @date: 2024/8/14 16:36
 */
@Data
public class SyncContract {
    @JSONField(name = "CID")
    @JsonProperty(value = "CID")
    @ApiModelProperty(value = "合同id")
    private Integer CID;
    @JSONField(name = "CUSID")
    @JsonProperty(value = "CUSID")
    @ApiModelProperty(value = "客户id")
    private Integer CUSID;
    @JSONField(name = "customerName")
    @JsonProperty(value = "customerName")
    @ApiModelProperty(value = "客户名称")
    private String customerName;
    @JSONField(name = "contractNo")
    @JsonProperty(value = "contractNo")
    @ApiModelProperty(value = "合同编号")
    private String contractNo;
    @JSONField(name = "level")
    @JsonProperty(value = "level")
    @ApiModelProperty(value = "信用等级")
    private String level;
    @JSONField(name = "type")
    @JsonProperty(value = "type")
    @ApiModelProperty(value = "类型 1 普通合同 2电子合同")
    private Integer type;
    @JSONField(name = "subType")
    @JsonProperty(value = "subType")
    @ApiModelProperty(value = "1-正式合同 3-临时合同 4-垫资合同 5-月结合同 6-现金合同 7-关系合同")
    private Integer subType;
    @JSONField(name = "creditAmount")
    @JsonProperty(value = "creditAmount")
    @ApiModelProperty(value = "授信金额")
    private Integer creditAmount;
    @JSONField(name = "salesAmount")
    @JsonProperty(value = "salesAmount")
    @ApiModelProperty(value = "销售金额")
    private String salesAmount;
    @JSONField(name = "settlementAmout")
    @JsonProperty(value = "settlementAmout")
    @ApiModelProperty(value = "结算金额")
    private Integer settlementAmout;
    @JSONField(name = "creditQuantity")
    @JsonProperty(value = "creditQuantity")
    @ApiModelProperty(value = "授信方量")
    private Float creditQuantity;
    @JSONField(name = "deliverCompanyName")
    @JsonProperty(value = "deliverCompanyName")
    @ApiModelProperty(value = "供货单位")
    private String deliverCompanyName;
    @JSONField(name = "tpz")
    @JsonProperty(value = "tpz")
    @ApiModelProperty(value = "砼品种")
    private String tpz;
    @JSONField(name = "signDate")
    @JsonProperty(value = "signDate")
    @ApiModelProperty(value = "签订日期")
    private String signDate;
    @JSONField(name = "orderStartTime")
    @JsonProperty(value = "orderStartTime")
    @ApiModelProperty(value = "下单开始时间")
    private String orderStartTime;
    @JSONField(name = "orderEndTime")
    @JsonProperty(value = "orderEndTime")
    @ApiModelProperty(value = "下单结束时间")
    private String orderEndTime;
    @JSONField(name = "extraInfo")
    @JsonProperty(value = "extraInfo")
    @ApiModelProperty(value = "额外消息")
    private String extraInfo;
    @JSONField(name = "linkMan")
    @JsonProperty(value = "linkMan")
    @ApiModelProperty(value = "合同联系人")
    private String linkMan;
    @JSONField(name = "linkTel")
    @JsonProperty(value = "linkTel")
    @ApiModelProperty(value = "合同联系电话")
    private String linkTel;
    @JSONField(name = "imgs")
    @JsonProperty(value = "imgs")
    @ApiModelProperty(value = "合同照片")
    private String imgs;
    @JSONField(name = "startDate")
    @JsonProperty(value = "startDate")
    @ApiModelProperty(value = "合同生效日期")
    private String startDate;
    @JSONField(name = "endDate")
    @JsonProperty(value = "endDate")
    @ApiModelProperty(value = "合同结束日期")
    private String endDate;
    @JSONField(name = "accountStatus")
    @JsonProperty(value = "accountStatus")
    @ApiModelProperty(value = "结算状态 1-未结算 2-已结算")
    private Integer accountStatus;
    @JSONField(name = "projectIds")
    @JsonProperty(value = "projectIds")
    @ApiModelProperty(value = "关联erp工程id，以逗号分隔")
    private String projectIds;
    @JSONField(name = "action")
    @JsonProperty(value = "action")
    @ApiModelProperty(value = "1:新增 2:更新")
    private Integer action;
    @JSONField(name = "logId")
    @JsonProperty(value = "logId")
    @ApiModelProperty(value = "日志id")
    private Long logId;
}
